<div class="message-center">
	<div class="main">
		<div class="shadowbox" style="background: #fff">
			<div class="container-header">消息中心</div>
			<div class="pa-table-container">
			  <form class="base-info">
			    <table class="pa-table">
			      <thead>
			        <tr> 
			        	<th>时间</th>
			        	<th>内容</th>
			        	<th>操作</th>
			        </tr>
			      </thead>
			      <tbody>
			        <tr ng-repeat ="item in messageCenter.msgList | orderBy: createTime">
			        	<td class="has-read"
			        		ng-class="{'is-read': item.isRead == 0}">{{item.createTime}}</td>
			        	<td class="has-read"
			        		ng-class="{'is-read': item.isRead == 0}">{{item.context}}</td>
			          <td>
			          	<div class="del"
			          		ng-if="item.isRead == 0"
			          	  ng-click="messageCenter.readMsg(item)">
			          	  <i class="fa fa-book color"></i>
			          	  <span class="pointer">已读</span>
			          	</div>                
			            <div class="del"
			            	ng-if="item.problemId"
			              ui-sref="rectificationDetail({id: item.problemId})">
			              <i class="fa fa-street-view color"></i>
			              <span class="pointer">查看</span>
			            </div>
			          </td>
			       </tr>            
			      </tbody>
			    </table>
			    <div class="total-num">
			      共计<span class="total-num-colorful">{{messageCenter.paginationData.total}}</span>条
			    </div>
			    <!-- 分页 -->
			    <div class="pagination-outer pagination-sm">
			      <uib-pagination
			        total-items="messageCenter.paginationData.total"
			        ng-model="messageCenter.paginationData.pageNum"
			        items-per-page="messageCenter.paginationData.pageSize"
			        ng-change="messageCenter.query()"
			        class="pagination-sm"
			        boundary-link-numbers="true"
			        max-size="5"
			        next-text="下一页"
			        previous-text="上一页"></uib-pagination>
			    </div>
			  </form>
			</div>
		</div>
	</div>
</div>